#ifndef _ISO14443A_H_
#define _ISO14443A_H_

/**
 * DEFINES ISO14443A COMMAND
 * commands which are handled by the tag,Each tag command is written to the
 * reader IC and transfered via RF
 ****************************************************************
 */

#define PICC_REQIDL           0x26               //寻天线区内未进入休眠状态
#define PICC_REQALL           0x52               //寻天线区内全部卡
#define PICC_ANTICOLL1        0x93               //防冲撞
#define PICC_ANTICOLL2        0x95               //防冲撞
#define PICC_ANTICOLL3        0x97               //防冲撞
#define PICC_HLTA             0x50               //休眠

char pcd_anticoll(unsigned char sel_code, unsigned char *uid);
char pcd_request(unsigned char req_code, unsigned char *ptagtype);
char pcd_select(unsigned char select_code, unsigned char *psnr, unsigned char *psak);
char pcd_halt(void);

#endif